package com.aaa.ss.config;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RoundRobinRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @fileName:MyRule
 * @description:
 * @author:忆尘
 * @createTime:2020/11/5 15:00
 * @version:1.0.0
 */

@Configuration
public class MyRule {
    @Bean
    public IRule iRule(){
        return new RoundRobinRule();
    }
}
